-
Home
-
Weight Based Shipping for WooCommerce
-
5.9.2
-
Code
-
Classes
- RulesMapper
| Total Complexity |
33 |
| Dependencies |
34 |
| Dependents |
1 |
| Total lines |
256 |
| Lines of code |
186 |
| Logical lines of code |
73 |
| Comment lines |
0 |
| Methods |
14 |
| Properties |
2 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| makeChargeCalculator() |
S |
44 |
4 |
51 |
| makeDestinationCondition() |
S |
57 |
4 |
17 |
| makePriceCondition() |
S |
58 |
4 |
15 |
| read() |
S |
61 |
4 |
13 |
| get() |
S |
61 |
4 |
13 |
| makeRule() |
S |
57 |
2 |
18 |
| makeConditions() |
S |
63 |
2 |
11 |
| makeWeightCondition() |
S |
63 |
2 |
11 |
| applyModifiers() |
S |
68 |
2 |
7 |
| __construct() |
S |
77 |
1 |
4 |
| makeCondition() |
S |
80 |
1 |
3 |
| makeWeightCalculator() |
S |
65 |
1 |
9 |
| makeRangeCondition() |
S |
71 |
1 |
6 |
| readRange() |
S |
67 |
1 |
8 |